<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 20/05/30
  Time: 09:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <!--输出,条件,迭代标签库-->
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="fmt"%> <!--数据格式化标签库-->
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="sql"%> <!--数据库相关标签库-->
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="fn"%> <!--常用函数标签库-->
<%@ page isELIgnored="false"%> <!--支持EL表达式，不设的话，EL表达式不会解析-->
<html>
<head>
    <title>Title</title>
</head>
<%--${pageContext.request.contextPath}对于当前项目来说等同于http://127.0.0.1:8077/FirstMavenProject_war_exploded--%>
<script type="text/javascript" src="${pageContext.request.contextPath}/lib/js/jquery-1.4.3.js">
</script>
<body>
    ${sessionScope.strvalue}
    ${sessionScope.intvalue}
    <form name="form1" action="testmodule" method="post">
        <label for="name"> 用户姓名<input id="name" type="text" name="name" value="${sessionScope.person.name}"/></label>
        <label for="age"> 年龄<input id="age" type="text" name="age" value="${requestScope.person.age}"/></label>
        <label for="car.name"> 汽车厂商<input id="car.name" type="text" name="car.name" value="${person.car.name}"/></label>
        <label for="car.price"> 汽车价格<input id="car.price" type="text" name="car.price" value="${person.car.price}"/></label>
        <label for="car.speed"> 汽车速度<input id="car.speed" type="text" name="car.speed" value="${person.car.speed}"/></label>
        <button>提交</button>
    </form>

    <hr />
</body>
</html>
